import request from '@/common/request.js'

// 设备信息
export function productPage(data) {
	return request.globalRequest('/product/productPage', 'POST', data, 2);
}
export function productDetails(data) {
	return request.globalRequest('/product/productDetails', 'POST', data, 2);
}

export function getCategory(data) {
	return request.globalRequest('/public/getCategory', 'POST', data, 2);
}

export function addLike(data) {
	return request.globalRequest('/user/addLike', 'POST', data, 2);
}

export function history(data) {
	return request.globalRequest('/product/history', 'POST', data, 2);
}